package com.fsbm.ctech.maxis.ebpsbackend;

import java.io.File;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.Date;
import java.util.Vector;
import java.util.Properties;

import com.checkfree.isolutions.customer.persist.*;
import com.checkfree.isolutions.persist.*;
import com.checkfree.isolutions.statement.*;
import com.checkfree.isolutions.statement.persist.*;
import com.checkfree.isolutions.utility.*;
import com.checkfree.isolutions.admin.*;
import com.checkfree.isolutions.streaming.*;
import com.checkfree.isolutions.admin.ObjectId;

import java.io.*;
import java.text.*;
import java.util.*;
import java.util.Date;
import java.sql.*;
import com.fsbm.ctech.maxis.ebpsbackend.ConfigObject;


/**
 *
 * @author Meau
 */

public class test1 {

    public static void main(String[] args) {

		try{
			PersistServer.activate();
			PersistServer.beginTransaction();
			Account account = AccountHomeImpl.singleton().findByExternalKey("123");
			PersistServer.commitTransaction();







		}catch(Exception e){
			try{
				PersistServer.rollbackTransaction();
			} catch(Exception ex){
			}
		} catch (Throwable t){
			try{
				PersistServer.rollbackTransaction();
			} catch(Exception ex){
			}
		}finally{
			PersistServer.deactivate();
		}
    }

}